home *** CD-ROM | disk | FTP | other *** search
/ Reign Of Fire Press Kit / Reign of Fire Press Kit.iso / pc / ROF.dxr / New Full Screen_85_Image30 Saved_Unsaved.ls < prev    next >
Encoding:
Text File  |  2002-06-26  |  670 b   |  29 lines

  1. on enterFrame me
  2.   global gIM30
  3.   if gIM30 = 1 then
  4.     sprite(86).member = member("Box_X")
  5.   else
  6.     sprite(86).member = member("Box")
  7.   end if
  8. end
  9.  
  10. on getBehaviorDescription me
  11.   return "HOLD ON CURRENT FRAME" & RETURN & RETURN & "Drop this behavior into the Script Channel of the Score or onto the Stage in order to keep the playback head in the current frame." & RETURN & RETURN & "PARAMETERS: None"
  12. end
  13.  
  14. on getBehaviorTooltip me
  15.   return "Frame behavior. " & "Holds the playback head still."
  16. end
  17.  
  18. on exitFrame me
  19.   go(the frame)
  20. end
  21.  
  22. on isOKToAttach me, aSpriteType, aSpriteNum
  23.   tisok = 0
  24.   if aSpriteType = #script then
  25.     tisok = 1
  26.   end if
  27.   return tisok
  28. end
  29.